<!DOCTYPE html>
<html>
	<head th:replace="/mobile/common::head(~{::custom_settings})">
		<th:block th:fragment="custom_settings">
			<title>网吧食品经营监管系统</title>
			<link type="text/css" rel="stylesheet" th:href="@{{css}/mobile/supplier/main.css(css=${css})}"/>
		</th:block>
	</head>
	
	<body>
		<div class="page">
			<div class="weui-tab__panel hidden" prop="good">
				<div class="good-item-new" onclick="editGood();">新的商品</div>
				<div class="good-container"></div>
			</div>
			<div class="weui-tab__panel hidden" prop="order">
				<div class="weui-tab">
					<div class="weui-navbar">
						<div class="weui-navbar__item" prop="all">全部</div>
						<div class="weui-navbar__item" prop="distributing">待发货</div>
						<div class="weui-navbar__item" prop="completed">已完成</div>
						<div class="weui-navbar__item" prop="cancelled">已取消</div>
					</div>
					<div class="weui-tab__panel"></div>
				</div>
			</div>
			<div class="weui-tab__panel hidden" prop="me">
				<div class="personal-info"></div>
			</div>
			<div class="weui-tabbar">
				<div class="weui-tabbar__item" prop="good">
					<i class="fa fa-cubes"></i>
					<p class="weui-tabbar__label">商品管理</p>
				</div>
				<div class="weui-tabbar__item" prop="order">
					<div style="display: inline-block; position: relative;">
						<i class="fa fa-align-justify"></i>
						<span class="weui-badge hidden" prop="orderNumber" style="position: absolute; top: -2px; right: -13px;">0</span>
					</div>
					<p class="weui-tabbar__label">订单管理</p>
				</div>
				<div class="weui-tabbar__item" prop="me">
					<i class="fa fa-user-o"></i>
					<p class="weui-tabbar__label">我</p>
				</div>
			</div>
		</div>
		<div id="adjustPriceDialog" class="js_dialog" style="display: none;">
			<div class="weui-mask"></div>
			<div class="weui-dialog">
				<div class="weui-dialog__hd"><strong class="weui-dialog__title">商品调价</strong></div>
				<div class="weui-dialog__bd">
					<input type="hidden"/>
					<input class="weui-input" type="text" placeholder="输入商品价格"/>
					<div class="price-tips">*价格可不填，价格不为零时商品将上架销售。</div>
				</div>
				<div class="weui-dialog__ft">
					<a class="weui-dialog__btn weui-dialog__btn_primary" href="javascript:void(0);" onclick="confirmAdjustPrice();">确定</a>
					<a class="weui-dialog__btn weui-dialog__btn_default" href="javascript:void(0);" onclick="closeAdjustPrice();">关闭</a>
				</div>
			</div>
		</div>
		
		<th:block th:replace="/mobile/common::common_toast_define"/>
		<th:block th:replace="/mobile/common::common_dialog_define"/>
		
		<script type="text/javascript" th:src="@{{js}/mobile/supplier/MainHandler.js(js=${js})}"></script>
	</body>
</html>
